package jrain.fw.script.operator;

import jrain.fw.script.tools.ELException;
import jrain.fw.script.tools.Logger;

//算术操作
public abstract class ArithmeticOperator extends BinaryOperator {

	public Object apply(Object pLeft, Object pRight, Object pContext, Logger pLogger) throws ELException {
		return Coercions.applyArithmeticOperator(pLeft, pRight, this, pLogger);
	}

	public abstract double apply(double pLeft, double pRight, Logger pLogger);

	public abstract long apply(long pLeft, long pRight, Logger pLogger);

}
